package common;

import java.io.Serializable;

public class StuMidClass implements Serializable {
    private String studentId;
    private String code;
    private String number;
    private String name;
    private String courseid;
    private Course course;
    public StuMidClass(String studentId, String code) {
        this.studentId = studentId;
        this.code = code;
    }
    public StuMidClass(String name,String number,String courseid){
        this.name=name;
        this.number=number;
        this.courseid=courseid;
    }
    public StuMidClass(String studentId,Course course){
        this.studentId=studentId;
        this.course=course;
    }
    public String getNumber() {
        return number;
    }

    public String getName() {
        return name;
    }

    public String getCourseid() {
        return courseid;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
    public Course getCourse() {
        return course;
    }
}
